package com.cr.backbone.hibenate;


/**
 * 数据 查询参数接口
 * @project RaedNote
 * @version 1.0
 * @company
 * @fileDescribe
 * @fileType QueryElement QueryElement.java
 * @author xianghua.hu
 * @date 2012-2-26 下午08:15:46
 */
public interface QueryParamElment {

	public static enum OPERATOR {
		EQUAL, LIKE, GREAT, LESS, GREAT_EQUAL, LESS_EQUAL, IS_NULL, NOT_EQUAL, NOT_NULL
	};

	public static enum TYPE {
		STRING, INTEGER, LONG, FLOAT, DOUBLE, BOOLEAN, DATE, DATETIME
	};

	public String getKey();

	public OPERATOR getOperator();

	public TYPE getType();

	public Object getValue();

	public String getQueryKey();

	public String getQueryValue();
}
